package com.crm.model.entity.returnMoney;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ModifyRoyaltyStatusLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ModifyRoyaltyStatusLogExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andModifyRoyaltyStatusLogIdIsNull() {
            addCriterion("modify_royalty_status_log_id is null");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdIsNotNull() {
            addCriterion("modify_royalty_status_log_id is not null");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdEqualTo(String value) {
            addCriterion("modify_royalty_status_log_id =", value, "modifyRoyaltyStatusLogId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdNotEqualTo(String value) {
            addCriterion("modify_royalty_status_log_id <>", value, "modifyRoyaltyStatusLogId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdGreaterThan(String value) {
            addCriterion("modify_royalty_status_log_id >", value, "modifyRoyaltyStatusLogId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdGreaterThanOrEqualTo(String value) {
            addCriterion("modify_royalty_status_log_id >=", value, "modifyRoyaltyStatusLogId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdLessThan(String value) {
            addCriterion("modify_royalty_status_log_id <", value, "modifyRoyaltyStatusLogId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdLessThanOrEqualTo(String value) {
            addCriterion("modify_royalty_status_log_id <=", value, "modifyRoyaltyStatusLogId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdLike(String value) {
            addCriterion("modify_royalty_status_log_id like", value, "modifyRoyaltyStatusLogId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdNotLike(String value) {
            addCriterion("modify_royalty_status_log_id not like", value, "modifyRoyaltyStatusLogId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdIn(List<String> values) {
            addCriterion("modify_royalty_status_log_id in", values, "modifyRoyaltyStatusLogId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdNotIn(List<String> values) {
            addCriterion("modify_royalty_status_log_id not in", values, "modifyRoyaltyStatusLogId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdBetween(String value1, String value2) {
            addCriterion("modify_royalty_status_log_id between", value1, value2, "modifyRoyaltyStatusLogId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusLogIdNotBetween(String value1, String value2) {
            addCriterion("modify_royalty_status_log_id not between", value1, value2, "modifyRoyaltyStatusLogId");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNull() {
            addCriterion("contract_id is null");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNotNull() {
            addCriterion("contract_id is not null");
            return (Criteria) this;
        }

        public Criteria andContractIdEqualTo(String value) {
            addCriterion("contract_id =", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotEqualTo(String value) {
            addCriterion("contract_id <>", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThan(String value) {
            addCriterion("contract_id >", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThanOrEqualTo(String value) {
            addCriterion("contract_id >=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThan(String value) {
            addCriterion("contract_id <", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThanOrEqualTo(String value) {
            addCriterion("contract_id <=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLike(String value) {
            addCriterion("contract_id like", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotLike(String value) {
            addCriterion("contract_id not like", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdIn(List<String> values) {
            addCriterion("contract_id in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotIn(List<String> values) {
            addCriterion("contract_id not in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdBetween(String value1, String value2) {
            addCriterion("contract_id between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotBetween(String value1, String value2) {
            addCriterion("contract_id not between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractNumberIsNull() {
            addCriterion("contract_number is null");
            return (Criteria) this;
        }

        public Criteria andContractNumberIsNotNull() {
            addCriterion("contract_number is not null");
            return (Criteria) this;
        }

        public Criteria andContractNumberEqualTo(String value) {
            addCriterion("contract_number =", value, "contractNumber");
            return (Criteria) this;
        }

        public Criteria andContractNumberNotEqualTo(String value) {
            addCriterion("contract_number <>", value, "contractNumber");
            return (Criteria) this;
        }

        public Criteria andContractNumberGreaterThan(String value) {
            addCriterion("contract_number >", value, "contractNumber");
            return (Criteria) this;
        }

        public Criteria andContractNumberGreaterThanOrEqualTo(String value) {
            addCriterion("contract_number >=", value, "contractNumber");
            return (Criteria) this;
        }

        public Criteria andContractNumberLessThan(String value) {
            addCriterion("contract_number <", value, "contractNumber");
            return (Criteria) this;
        }

        public Criteria andContractNumberLessThanOrEqualTo(String value) {
            addCriterion("contract_number <=", value, "contractNumber");
            return (Criteria) this;
        }

        public Criteria andContractNumberLike(String value) {
            addCriterion("contract_number like", value, "contractNumber");
            return (Criteria) this;
        }

        public Criteria andContractNumberNotLike(String value) {
            addCriterion("contract_number not like", value, "contractNumber");
            return (Criteria) this;
        }

        public Criteria andContractNumberIn(List<String> values) {
            addCriterion("contract_number in", values, "contractNumber");
            return (Criteria) this;
        }

        public Criteria andContractNumberNotIn(List<String> values) {
            addCriterion("contract_number not in", values, "contractNumber");
            return (Criteria) this;
        }

        public Criteria andContractNumberBetween(String value1, String value2) {
            addCriterion("contract_number between", value1, value2, "contractNumber");
            return (Criteria) this;
        }

        public Criteria andContractNumberNotBetween(String value1, String value2) {
            addCriterion("contract_number not between", value1, value2, "contractNumber");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(String value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(String value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(String value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(String value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(String value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(String value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLike(String value) {
            addCriterion("customer_id like", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotLike(String value) {
            addCriterion("customer_id not like", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<String> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<String> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(String value1, String value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(String value1, String value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIsNull() {
            addCriterion("customer_name is null");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIsNotNull() {
            addCriterion("customer_name is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerNameEqualTo(String value) {
            addCriterion("customer_name =", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotEqualTo(String value) {
            addCriterion("customer_name <>", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameGreaterThan(String value) {
            addCriterion("customer_name >", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameGreaterThanOrEqualTo(String value) {
            addCriterion("customer_name >=", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLessThan(String value) {
            addCriterion("customer_name <", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLessThanOrEqualTo(String value) {
            addCriterion("customer_name <=", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLike(String value) {
            addCriterion("customer_name like", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotLike(String value) {
            addCriterion("customer_name not like", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIn(List<String> values) {
            addCriterion("customer_name in", values, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotIn(List<String> values) {
            addCriterion("customer_name not in", values, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameBetween(String value1, String value2) {
            addCriterion("customer_name between", value1, value2, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotBetween(String value1, String value2) {
            addCriterion("customer_name not between", value1, value2, "customerName");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(String value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(String value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(String value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(String value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(String value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLike(String value) {
            addCriterion("order_id like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotLike(String value) {
            addCriterion("order_id not like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<String> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<String> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(String value1, String value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(String value1, String value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderNumberIsNull() {
            addCriterion("order_number is null");
            return (Criteria) this;
        }

        public Criteria andOrderNumberIsNotNull() {
            addCriterion("order_number is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNumberEqualTo(String value) {
            addCriterion("order_number =", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberNotEqualTo(String value) {
            addCriterion("order_number <>", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberGreaterThan(String value) {
            addCriterion("order_number >", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberGreaterThanOrEqualTo(String value) {
            addCriterion("order_number >=", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberLessThan(String value) {
            addCriterion("order_number <", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberLessThanOrEqualTo(String value) {
            addCriterion("order_number <=", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberLike(String value) {
            addCriterion("order_number like", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberNotLike(String value) {
            addCriterion("order_number not like", value, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberIn(List<String> values) {
            addCriterion("order_number in", values, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberNotIn(List<String> values) {
            addCriterion("order_number not in", values, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberBetween(String value1, String value2) {
            addCriterion("order_number between", value1, value2, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andOrderNumberNotBetween(String value1, String value2) {
            addCriterion("order_number not between", value1, value2, "orderNumber");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNull() {
            addCriterion("product_id is null");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNotNull() {
            addCriterion("product_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductIdEqualTo(String value) {
            addCriterion("product_id =", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotEqualTo(String value) {
            addCriterion("product_id <>", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThan(String value) {
            addCriterion("product_id >", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThanOrEqualTo(String value) {
            addCriterion("product_id >=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThan(String value) {
            addCriterion("product_id <", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThanOrEqualTo(String value) {
            addCriterion("product_id <=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLike(String value) {
            addCriterion("product_id like", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotLike(String value) {
            addCriterion("product_id not like", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdIn(List<String> values) {
            addCriterion("product_id in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotIn(List<String> values) {
            addCriterion("product_id not in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdBetween(String value1, String value2) {
            addCriterion("product_id between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotBetween(String value1, String value2) {
            addCriterion("product_id not between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductNumberIsNull() {
            addCriterion("product_number is null");
            return (Criteria) this;
        }

        public Criteria andProductNumberIsNotNull() {
            addCriterion("product_number is not null");
            return (Criteria) this;
        }

        public Criteria andProductNumberEqualTo(String value) {
            addCriterion("product_number =", value, "productNumber");
            return (Criteria) this;
        }

        public Criteria andProductNumberNotEqualTo(String value) {
            addCriterion("product_number <>", value, "productNumber");
            return (Criteria) this;
        }

        public Criteria andProductNumberGreaterThan(String value) {
            addCriterion("product_number >", value, "productNumber");
            return (Criteria) this;
        }

        public Criteria andProductNumberGreaterThanOrEqualTo(String value) {
            addCriterion("product_number >=", value, "productNumber");
            return (Criteria) this;
        }

        public Criteria andProductNumberLessThan(String value) {
            addCriterion("product_number <", value, "productNumber");
            return (Criteria) this;
        }

        public Criteria andProductNumberLessThanOrEqualTo(String value) {
            addCriterion("product_number <=", value, "productNumber");
            return (Criteria) this;
        }

        public Criteria andProductNumberLike(String value) {
            addCriterion("product_number like", value, "productNumber");
            return (Criteria) this;
        }

        public Criteria andProductNumberNotLike(String value) {
            addCriterion("product_number not like", value, "productNumber");
            return (Criteria) this;
        }

        public Criteria andProductNumberIn(List<String> values) {
            addCriterion("product_number in", values, "productNumber");
            return (Criteria) this;
        }

        public Criteria andProductNumberNotIn(List<String> values) {
            addCriterion("product_number not in", values, "productNumber");
            return (Criteria) this;
        }

        public Criteria andProductNumberBetween(String value1, String value2) {
            addCriterion("product_number between", value1, value2, "productNumber");
            return (Criteria) this;
        }

        public Criteria andProductNumberNotBetween(String value1, String value2) {
            addCriterion("product_number not between", value1, value2, "productNumber");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNull() {
            addCriterion("product_name is null");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNotNull() {
            addCriterion("product_name is not null");
            return (Criteria) this;
        }

        public Criteria andProductNameEqualTo(String value) {
            addCriterion("product_name =", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotEqualTo(String value) {
            addCriterion("product_name <>", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThan(String value) {
            addCriterion("product_name >", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThanOrEqualTo(String value) {
            addCriterion("product_name >=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThan(String value) {
            addCriterion("product_name <", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThanOrEqualTo(String value) {
            addCriterion("product_name <=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLike(String value) {
            addCriterion("product_name like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotLike(String value) {
            addCriterion("product_name not like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameIn(List<String> values) {
            addCriterion("product_name in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotIn(List<String> values) {
            addCriterion("product_name not in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameBetween(String value1, String value2) {
            addCriterion("product_name between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotBetween(String value1, String value2) {
            addCriterion("product_name not between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andArriveTimeIsNull() {
            addCriterion("arrive_time is null");
            return (Criteria) this;
        }

        public Criteria andArriveTimeIsNotNull() {
            addCriterion("arrive_time is not null");
            return (Criteria) this;
        }

        public Criteria andArriveTimeEqualTo(Date value) {
            addCriterion("arrive_time =", value, "arriveTime");
            return (Criteria) this;
        }

        public Criteria andArriveTimeNotEqualTo(Date value) {
            addCriterion("arrive_time <>", value, "arriveTime");
            return (Criteria) this;
        }

        public Criteria andArriveTimeGreaterThan(Date value) {
            addCriterion("arrive_time >", value, "arriveTime");
            return (Criteria) this;
        }

        public Criteria andArriveTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("arrive_time >=", value, "arriveTime");
            return (Criteria) this;
        }

        public Criteria andArriveTimeLessThan(Date value) {
            addCriterion("arrive_time <", value, "arriveTime");
            return (Criteria) this;
        }

        public Criteria andArriveTimeLessThanOrEqualTo(Date value) {
            addCriterion("arrive_time <=", value, "arriveTime");
            return (Criteria) this;
        }

        public Criteria andArriveTimeIn(List<Date> values) {
            addCriterion("arrive_time in", values, "arriveTime");
            return (Criteria) this;
        }

        public Criteria andArriveTimeNotIn(List<Date> values) {
            addCriterion("arrive_time not in", values, "arriveTime");
            return (Criteria) this;
        }

        public Criteria andArriveTimeBetween(Date value1, Date value2) {
            addCriterion("arrive_time between", value1, value2, "arriveTime");
            return (Criteria) this;
        }

        public Criteria andArriveTimeNotBetween(Date value1, Date value2) {
            addCriterion("arrive_time not between", value1, value2, "arriveTime");
            return (Criteria) this;
        }

        public Criteria andArriveMoneyIsNull() {
            addCriterion("arrive_money is null");
            return (Criteria) this;
        }

        public Criteria andArriveMoneyIsNotNull() {
            addCriterion("arrive_money is not null");
            return (Criteria) this;
        }

        public Criteria andArriveMoneyEqualTo(BigDecimal value) {
            addCriterion("arrive_money =", value, "arriveMoney");
            return (Criteria) this;
        }

        public Criteria andArriveMoneyNotEqualTo(BigDecimal value) {
            addCriterion("arrive_money <>", value, "arriveMoney");
            return (Criteria) this;
        }

        public Criteria andArriveMoneyGreaterThan(BigDecimal value) {
            addCriterion("arrive_money >", value, "arriveMoney");
            return (Criteria) this;
        }

        public Criteria andArriveMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("arrive_money >=", value, "arriveMoney");
            return (Criteria) this;
        }

        public Criteria andArriveMoneyLessThan(BigDecimal value) {
            addCriterion("arrive_money <", value, "arriveMoney");
            return (Criteria) this;
        }

        public Criteria andArriveMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("arrive_money <=", value, "arriveMoney");
            return (Criteria) this;
        }

        public Criteria andArriveMoneyIn(List<BigDecimal> values) {
            addCriterion("arrive_money in", values, "arriveMoney");
            return (Criteria) this;
        }

        public Criteria andArriveMoneyNotIn(List<BigDecimal> values) {
            addCriterion("arrive_money not in", values, "arriveMoney");
            return (Criteria) this;
        }

        public Criteria andArriveMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("arrive_money between", value1, value2, "arriveMoney");
            return (Criteria) this;
        }

        public Criteria andArriveMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("arrive_money not between", value1, value2, "arriveMoney");
            return (Criteria) this;
        }

        public Criteria andArriveNumIsNull() {
            addCriterion("arrive_num is null");
            return (Criteria) this;
        }

        public Criteria andArriveNumIsNotNull() {
            addCriterion("arrive_num is not null");
            return (Criteria) this;
        }

        public Criteria andArriveNumEqualTo(String value) {
            addCriterion("arrive_num =", value, "arriveNum");
            return (Criteria) this;
        }

        public Criteria andArriveNumNotEqualTo(String value) {
            addCriterion("arrive_num <>", value, "arriveNum");
            return (Criteria) this;
        }

        public Criteria andArriveNumGreaterThan(String value) {
            addCriterion("arrive_num >", value, "arriveNum");
            return (Criteria) this;
        }

        public Criteria andArriveNumGreaterThanOrEqualTo(String value) {
            addCriterion("arrive_num >=", value, "arriveNum");
            return (Criteria) this;
        }

        public Criteria andArriveNumLessThan(String value) {
            addCriterion("arrive_num <", value, "arriveNum");
            return (Criteria) this;
        }

        public Criteria andArriveNumLessThanOrEqualTo(String value) {
            addCriterion("arrive_num <=", value, "arriveNum");
            return (Criteria) this;
        }

        public Criteria andArriveNumLike(String value) {
            addCriterion("arrive_num like", value, "arriveNum");
            return (Criteria) this;
        }

        public Criteria andArriveNumNotLike(String value) {
            addCriterion("arrive_num not like", value, "arriveNum");
            return (Criteria) this;
        }

        public Criteria andArriveNumIn(List<String> values) {
            addCriterion("arrive_num in", values, "arriveNum");
            return (Criteria) this;
        }

        public Criteria andArriveNumNotIn(List<String> values) {
            addCriterion("arrive_num not in", values, "arriveNum");
            return (Criteria) this;
        }

        public Criteria andArriveNumBetween(String value1, String value2) {
            addCriterion("arrive_num between", value1, value2, "arriveNum");
            return (Criteria) this;
        }

        public Criteria andArriveNumNotBetween(String value1, String value2) {
            addCriterion("arrive_num not between", value1, value2, "arriveNum");
            return (Criteria) this;
        }

        public Criteria andScoreConvertRatioIsNull() {
            addCriterion("score_convert_ratio is null");
            return (Criteria) this;
        }

        public Criteria andScoreConvertRatioIsNotNull() {
            addCriterion("score_convert_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andScoreConvertRatioEqualTo(BigDecimal value) {
            addCriterion("score_convert_ratio =", value, "scoreConvertRatio");
            return (Criteria) this;
        }

        public Criteria andScoreConvertRatioNotEqualTo(BigDecimal value) {
            addCriterion("score_convert_ratio <>", value, "scoreConvertRatio");
            return (Criteria) this;
        }

        public Criteria andScoreConvertRatioGreaterThan(BigDecimal value) {
            addCriterion("score_convert_ratio >", value, "scoreConvertRatio");
            return (Criteria) this;
        }

        public Criteria andScoreConvertRatioGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("score_convert_ratio >=", value, "scoreConvertRatio");
            return (Criteria) this;
        }

        public Criteria andScoreConvertRatioLessThan(BigDecimal value) {
            addCriterion("score_convert_ratio <", value, "scoreConvertRatio");
            return (Criteria) this;
        }

        public Criteria andScoreConvertRatioLessThanOrEqualTo(BigDecimal value) {
            addCriterion("score_convert_ratio <=", value, "scoreConvertRatio");
            return (Criteria) this;
        }

        public Criteria andScoreConvertRatioIn(List<BigDecimal> values) {
            addCriterion("score_convert_ratio in", values, "scoreConvertRatio");
            return (Criteria) this;
        }

        public Criteria andScoreConvertRatioNotIn(List<BigDecimal> values) {
            addCriterion("score_convert_ratio not in", values, "scoreConvertRatio");
            return (Criteria) this;
        }

        public Criteria andScoreConvertRatioBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("score_convert_ratio between", value1, value2, "scoreConvertRatio");
            return (Criteria) this;
        }

        public Criteria andScoreConvertRatioNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("score_convert_ratio not between", value1, value2, "scoreConvertRatio");
            return (Criteria) this;
        }

        public Criteria andScoreMoneyIsNull() {
            addCriterion("score_money is null");
            return (Criteria) this;
        }

        public Criteria andScoreMoneyIsNotNull() {
            addCriterion("score_money is not null");
            return (Criteria) this;
        }

        public Criteria andScoreMoneyEqualTo(BigDecimal value) {
            addCriterion("score_money =", value, "scoreMoney");
            return (Criteria) this;
        }

        public Criteria andScoreMoneyNotEqualTo(BigDecimal value) {
            addCriterion("score_money <>", value, "scoreMoney");
            return (Criteria) this;
        }

        public Criteria andScoreMoneyGreaterThan(BigDecimal value) {
            addCriterion("score_money >", value, "scoreMoney");
            return (Criteria) this;
        }

        public Criteria andScoreMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("score_money >=", value, "scoreMoney");
            return (Criteria) this;
        }

        public Criteria andScoreMoneyLessThan(BigDecimal value) {
            addCriterion("score_money <", value, "scoreMoney");
            return (Criteria) this;
        }

        public Criteria andScoreMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("score_money <=", value, "scoreMoney");
            return (Criteria) this;
        }

        public Criteria andScoreMoneyIn(List<BigDecimal> values) {
            addCriterion("score_money in", values, "scoreMoney");
            return (Criteria) this;
        }

        public Criteria andScoreMoneyNotIn(List<BigDecimal> values) {
            addCriterion("score_money not in", values, "scoreMoney");
            return (Criteria) this;
        }

        public Criteria andScoreMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("score_money between", value1, value2, "scoreMoney");
            return (Criteria) this;
        }

        public Criteria andScoreMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("score_money not between", value1, value2, "scoreMoney");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameIsNull() {
            addCriterion("arrive_unit_name is null");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameIsNotNull() {
            addCriterion("arrive_unit_name is not null");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameEqualTo(String value) {
            addCriterion("arrive_unit_name =", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameNotEqualTo(String value) {
            addCriterion("arrive_unit_name <>", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameGreaterThan(String value) {
            addCriterion("arrive_unit_name >", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameGreaterThanOrEqualTo(String value) {
            addCriterion("arrive_unit_name >=", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameLessThan(String value) {
            addCriterion("arrive_unit_name <", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameLessThanOrEqualTo(String value) {
            addCriterion("arrive_unit_name <=", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameLike(String value) {
            addCriterion("arrive_unit_name like", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameNotLike(String value) {
            addCriterion("arrive_unit_name not like", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameIn(List<String> values) {
            addCriterion("arrive_unit_name in", values, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameNotIn(List<String> values) {
            addCriterion("arrive_unit_name not in", values, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameBetween(String value1, String value2) {
            addCriterion("arrive_unit_name between", value1, value2, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameNotBetween(String value1, String value2) {
            addCriterion("arrive_unit_name not between", value1, value2, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeIsNull() {
            addCriterion("modify_before is null");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeIsNotNull() {
            addCriterion("modify_before is not null");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeEqualTo(String value) {
            addCriterion("modify_before =", value, "modifyBefore");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeNotEqualTo(String value) {
            addCriterion("modify_before <>", value, "modifyBefore");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeGreaterThan(String value) {
            addCriterion("modify_before >", value, "modifyBefore");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeGreaterThanOrEqualTo(String value) {
            addCriterion("modify_before >=", value, "modifyBefore");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeLessThan(String value) {
            addCriterion("modify_before <", value, "modifyBefore");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeLessThanOrEqualTo(String value) {
            addCriterion("modify_before <=", value, "modifyBefore");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeLike(String value) {
            addCriterion("modify_before like", value, "modifyBefore");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeNotLike(String value) {
            addCriterion("modify_before not like", value, "modifyBefore");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeIn(List<String> values) {
            addCriterion("modify_before in", values, "modifyBefore");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeNotIn(List<String> values) {
            addCriterion("modify_before not in", values, "modifyBefore");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeBetween(String value1, String value2) {
            addCriterion("modify_before between", value1, value2, "modifyBefore");
            return (Criteria) this;
        }

        public Criteria andModifyBeforeNotBetween(String value1, String value2) {
            addCriterion("modify_before not between", value1, value2, "modifyBefore");
            return (Criteria) this;
        }

        public Criteria andModifyAfterIsNull() {
            addCriterion("modify_after is null");
            return (Criteria) this;
        }

        public Criteria andModifyAfterIsNotNull() {
            addCriterion("modify_after is not null");
            return (Criteria) this;
        }

        public Criteria andModifyAfterEqualTo(String value) {
            addCriterion("modify_after =", value, "modifyAfter");
            return (Criteria) this;
        }

        public Criteria andModifyAfterNotEqualTo(String value) {
            addCriterion("modify_after <>", value, "modifyAfter");
            return (Criteria) this;
        }

        public Criteria andModifyAfterGreaterThan(String value) {
            addCriterion("modify_after >", value, "modifyAfter");
            return (Criteria) this;
        }

        public Criteria andModifyAfterGreaterThanOrEqualTo(String value) {
            addCriterion("modify_after >=", value, "modifyAfter");
            return (Criteria) this;
        }

        public Criteria andModifyAfterLessThan(String value) {
            addCriterion("modify_after <", value, "modifyAfter");
            return (Criteria) this;
        }

        public Criteria andModifyAfterLessThanOrEqualTo(String value) {
            addCriterion("modify_after <=", value, "modifyAfter");
            return (Criteria) this;
        }

        public Criteria andModifyAfterLike(String value) {
            addCriterion("modify_after like", value, "modifyAfter");
            return (Criteria) this;
        }

        public Criteria andModifyAfterNotLike(String value) {
            addCriterion("modify_after not like", value, "modifyAfter");
            return (Criteria) this;
        }

        public Criteria andModifyAfterIn(List<String> values) {
            addCriterion("modify_after in", values, "modifyAfter");
            return (Criteria) this;
        }

        public Criteria andModifyAfterNotIn(List<String> values) {
            addCriterion("modify_after not in", values, "modifyAfter");
            return (Criteria) this;
        }

        public Criteria andModifyAfterBetween(String value1, String value2) {
            addCriterion("modify_after between", value1, value2, "modifyAfter");
            return (Criteria) this;
        }

        public Criteria andModifyAfterNotBetween(String value1, String value2) {
            addCriterion("modify_after not between", value1, value2, "modifyAfter");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(Integer value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(Integer value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(Integer value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(Integer value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(Integer value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<Integer> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<Integer> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(Integer value1, Integer value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdIsNull() {
            addCriterion("return_money_id is null");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdIsNotNull() {
            addCriterion("return_money_id is not null");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdEqualTo(String value) {
            addCriterion("return_money_id =", value, "returnMoneyId");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdNotEqualTo(String value) {
            addCriterion("return_money_id <>", value, "returnMoneyId");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdGreaterThan(String value) {
            addCriterion("return_money_id >", value, "returnMoneyId");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdGreaterThanOrEqualTo(String value) {
            addCriterion("return_money_id >=", value, "returnMoneyId");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdLessThan(String value) {
            addCriterion("return_money_id <", value, "returnMoneyId");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdLessThanOrEqualTo(String value) {
            addCriterion("return_money_id <=", value, "returnMoneyId");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdLike(String value) {
            addCriterion("return_money_id like", value, "returnMoneyId");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdNotLike(String value) {
            addCriterion("return_money_id not like", value, "returnMoneyId");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdIn(List<String> values) {
            addCriterion("return_money_id in", values, "returnMoneyId");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdNotIn(List<String> values) {
            addCriterion("return_money_id not in", values, "returnMoneyId");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdBetween(String value1, String value2) {
            addCriterion("return_money_id between", value1, value2, "returnMoneyId");
            return (Criteria) this;
        }

        public Criteria andReturnMoneyIdNotBetween(String value1, String value2) {
            addCriterion("return_money_id not between", value1, value2, "returnMoneyId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdIsNull() {
            addCriterion("modify_royalty_status_id is null");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdIsNotNull() {
            addCriterion("modify_royalty_status_id is not null");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdEqualTo(String value) {
            addCriterion("modify_royalty_status_id =", value, "modifyRoyaltyStatusId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdNotEqualTo(String value) {
            addCriterion("modify_royalty_status_id <>", value, "modifyRoyaltyStatusId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdGreaterThan(String value) {
            addCriterion("modify_royalty_status_id >", value, "modifyRoyaltyStatusId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdGreaterThanOrEqualTo(String value) {
            addCriterion("modify_royalty_status_id >=", value, "modifyRoyaltyStatusId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdLessThan(String value) {
            addCriterion("modify_royalty_status_id <", value, "modifyRoyaltyStatusId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdLessThanOrEqualTo(String value) {
            addCriterion("modify_royalty_status_id <=", value, "modifyRoyaltyStatusId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdLike(String value) {
            addCriterion("modify_royalty_status_id like", value, "modifyRoyaltyStatusId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdNotLike(String value) {
            addCriterion("modify_royalty_status_id not like", value, "modifyRoyaltyStatusId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdIn(List<String> values) {
            addCriterion("modify_royalty_status_id in", values, "modifyRoyaltyStatusId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdNotIn(List<String> values) {
            addCriterion("modify_royalty_status_id not in", values, "modifyRoyaltyStatusId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdBetween(String value1, String value2) {
            addCriterion("modify_royalty_status_id between", value1, value2, "modifyRoyaltyStatusId");
            return (Criteria) this;
        }

        public Criteria andModifyRoyaltyStatusIdNotBetween(String value1, String value2) {
            addCriterion("modify_royalty_status_id not between", value1, value2, "modifyRoyaltyStatusId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}